package com.example.springbean.config;

import com.example.springbean.bean.User;
import org.springframework.context.annotation.Bean;

/**
 * @ClassName BeanF
 * @Description
 * @Author Yin
 * @Date 2021/4/8 10:05
 * @Version 1.0
 */
public class BeanF {
    @Bean
    public User user() {
        return new User();
    }
}
